package com;

import java.sql.Timestamp;
import java.sql.Date;

//ResParrtner refers ResPartnerAddress

public class ResPartner {
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getCreate_uid() {
		return create_uid;
	}

	public void setCreate_uid(int create_uid) {
		this.create_uid = create_uid;
	}

	public Timestamp getCreate_date() {
		return create_date;
	}

	public void setCreate_date(Timestamp create_date) {
		this.create_date = create_date;
	}

	public Timestamp getWrite_date() {
		return write_date;
	}

	public void setWrite_date(Timestamp write_date) {
		this.write_date = write_date;
	}

	public int getWrite_uid() {
		return write_uid;
	}

	public void setWrite_uid(int write_uid) {
		this.write_uid = write_uid;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getEan13() {
		return ean13;
	}

	public void setEan13(String ean13) {
		this.ean13 = ean13;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public boolean isActive() {
		return active;
	}

	public void setActive(boolean active) {
		this.active = active;
	}

	public String getLang() {
		return lang;
	}

	public void setLang(String lang) {
		this.lang = lang;
	}

	public boolean isCustomer() {
		return customer;
	}

	public void setCustomer(boolean customer) {
		this.customer = customer;
	}

	public double getCredit_limit() {
		return credit_limit;
	}

	public void setCredit_limit(double credit_limit) {
		this.credit_limit = credit_limit;
	}

	public int getUser_id() {
		return user_id;
	}

	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getTitle() {
		return title;
	}

	public void setTitle(int title) {
		this.title = title;
	}

	public int getCompany_id() {
		return company_id;
	}

	public void setCompany_id(int company_id) {
		this.company_id = company_id;
	}

	public String getWebsite() {
		return website;
	}

	public void setWebsite(String website) {
		this.website = website;
	}

	public int getParent_id() {
		return parent_id;
	}

	public void setParent_id(int parent_id) {
		this.parent_id = parent_id;
	}

	public boolean isEmployee() {
		return employee;
	}

	public void setEmployee(boolean employee) {
		this.employee = employee;
	}

	public boolean isSupplier() {
		return supplier;
	}

	public void setSupplier(boolean supplier) {
		this.supplier = supplier;
	}

	public String getRef() {
		return ref;
	}

	public void setRef(String ref) {
		this.ref = ref;
	}

	public String getVat() {
		return vat;
	}

	public void setVat(String vat) {
		this.vat = vat;
	}

	public Timestamp getLast_reconciliation_date() {
		return last_reconciliation_date;
	}

	public void setLast_reconciliation_date(Timestamp last_reconciliation_date) {
		this.last_reconciliation_date = last_reconciliation_date;
	}

	public double getDebit_limit() {
		return debit_limit;
	}

	public void setDebit_limit(double debit_limit) {
		this.debit_limit = debit_limit;
	}

	public int getSection_id() {
		return section_id;
	}

	public void setSection_id(int section_id) {
		this.section_id = section_id;
	}

	public boolean isVat_subjected() {
		return vat_subjected;
	}

	public void setVat_subjected(boolean vat_subjected) {
		this.vat_subjected = vat_subjected;
	}

	private int id;// serial NOT NULL, --select
					// nextval('res_partner_id_seq'::regclass) --from dual
	private int create_uid;// integer,
	private Timestamp create_date;// timestamp without time zone,
	private Timestamp write_date;// timestamp without time zone,
	private int write_uid;// integer,
	private String comment;// text, -- Notes
	private String ean13;// character varying(13), -- EAN13
	private Date date;// -- Date
	private boolean active;// boolean, -- Active
	private String lang;// character varying(5), -- Language
	private boolean customer;// boolean, -- Customer
	private double credit_limit;// double precision, -- Credit Limit
	private int user_id;// integer, -- Salesman
	private String name;// character varying(128) NOT NULL, -- Name
	private int title;// -- Partner Form
	private int company_id;// integer, -- Company
	private String website;// character varying(64), -- Website
	private int parent_id;// integer, -- Parent Partner
	private boolean employee;// boolean, -- Employee
	private boolean supplier;// boolean, -- Supplier
	private String ref;// character varying(64), -- Reference
	private String vat;// character varying(32), -- VAT
	private Timestamp last_reconciliation_date;// timestamp without time zone,
												// -- Latest Reconciliation Date
	private double debit_limit;// double precision, -- Payable Limit
	private int section_id;// integer, -- Sales Team
	private boolean vat_subjected;// boolean, -- VAT Legal Statement

}
